Skip to main content

All Questions

0votes
2answers
39views

Understanding the Role of Dummy Variables in Categorical Regression Models

In a categorical regression model with $k$ categories, we use $k-1$ dummy variables. I understand that the $k$-th dummy variable is redundant because the information from the first $k-1$ dummies is ...
KitanaKatana's user avatar
0votes
1answer
33views

Help me identify the type of plot and the relationship between the dependent variables

Question: I am not sure how to describe the sample graph attached. Can you please help me identify the type of plot and how to statistically measure the relationship between the dependent variable (Y-...
Leo82's user avatar
1vote
2answers
867views

Linear Regression with Category variables

I'm currently learning and exploring machine learning and understand the basics of linear regression based on two numerical variables, but now I wish to go a little further and need some guidance ...
Ymi's user avatar
  • 111
0votes
1answer
46views

For very simple linear regression can we quantify the prediction accuracy hit between using one hot encoding and simple numerical mapping?

Suppose I had a simple linear regression model that had the following input or X variable: ...
Sad CRUD Developer's user avatar
4votes
4answers
9kviews

How do you predict a continuous variable when all your independent variables are categorical

I am new to data science and ML. Recently I have been given a sales dataset which contains weekly sales of a fashion brand. It has information about the product like category(t shirt, polo shirt, ...
Durbin's user avatar
1vote
0answers
26views

Poisson Model (w/ multiple levels X)

Question Is Poisson model the best method for predicting counts among multiple levels within nominal variable? Details Imagine data of 7000 observations, where output= Obs.Count {numeric,0,1,2..8} ...
OctoCatKnows's user avatar
1vote
1answer
148views

Linear regression model with (categorical) predictor variables

I used LM model with (categorical) predictor variables on my data in r like this (I have count variable as dependent/target variable): ...
Ann's user avatar
  • 111
2votes
1answer
116views

Selecting the right time series model [closed]

Using Python, I am trying to predict the future sales count of a product, using historical sales data. I am also trying to predict these counts for various groups of products. For example, my columns ...
pynewbee's user avatar
4votes
1answer
4kviews

Handling categorical variables in linear regression and random forest

In the linear regression, when we have a categorical explanatory variable with $n$ levels, we usually remove one level and call it a baseline level and fit the model on the remaining levels. And the ...
Mary's user avatar
6votes
1answer
2kviews

Why after adding categorical data the Linear Regression fails?

Based on a training set we applied a simple Linear Regression on some attributes that all were numeric. Now we have more attributes in terms of categories and of course we applied one-hot-encoding to ...
George Pligoropoulos's user avatar
1vote
1answer
812views

How to visualize (make plot) of regression output against categorical input variable? [closed]

I am doing linear regression with multiple variables. In my data I have n = 143 features and m = 13000 training examples. Some of my features are continuous (ordinal) variables (area, year, number of ...
Erba Aitbayev's user avatar
5votes
1answer
15kviews

Categorical and ordinal feature data representation in regression analysis? [closed]

I am trying to fully understand difference between categorical and ordinal data when doing regression analysis. For now, what is clear: Categorical feature and data example: Color: red, white, black ...
Erba Aitbayev's user avatar
3votes
1answer
221views

Steps in exploratory methods for mild-sized data with mixed categorical and numerical values?

Experienced in signal/image analysis, and new to data science, I recently was challenged with a relatively simple dataset: 100 to 200 items, about 10-20 numerical variables (in the [0-1] or percentage ...
Laurent Duval's user avatar

close